/**
 * 定义校准设置模块
 */
(function(window, angular, undefined){

	var module = angular.module('water.entity.calSetting',['water.common.AJAXService']);
	
	module.service('$calSettingService',function($AJAXService){
		/**
		 * 设置校准时间
		 */
		this.create = function(data){
			var promise = $AJAXService.post("/CalSetting/create",data);
			return promise;
		}

        this.getList = function(){
            var promise = $AJAXService.post("/CalSetting/getList",null);
            return promise;
        }
		
	})
}(window, angular));